package edu.zju.gis.dbfg.fileserver.service;

import edu.zju.gis.dbfg.common.Page;
import edu.zju.gis.dbfg.common.base.BaseService;
import edu.zju.gis.dbfg.fileserver.model.LoaderMonitor;
import edu.zju.gis.dbfg.fileserver.model.vo.MonitorInfo;

import java.util.List;

public interface LoaderMonitorService extends BaseService<LoaderMonitor, String> {
    public List<MonitorInfo> selectAll(String userId);

    public LoaderMonitor selectByName(String name);

    public Page<MonitorInfo> selectByPage(String userId, Page page);
    public Page<MonitorInfo> selectByPageFinish(String userId, Page page);
    public LoaderMonitor watchStatus(String id);
    int deleteByPrimaryKey(String id);

}
